﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="addProduct.ascx.cs" Inherits="eDream.admin.addProduct" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>


<%@ Register assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dx" %>

<script type="text/javascript">
    // <![CDATA[
    function Uploader_OnUploadStart() {
        btnUpload.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete(args) {
        var imgSrc = aspxPreviewImgSrc;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete(args) {
        UpdateUploadButton();
    }
    function UpdateUploadButton() {
        btnUpload.SetEnabled(uploader.GetText(0) != "");
    }
    function getPreviewImageElement() {
        return document.getElementById("previewImage");
    }
    // ]]> 

    function Uploader_OnUploadStart1() {
        btnUpload1.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete1(args) {
        var imgSrc = aspxPreviewImgSrc1;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement1().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete1(args) {
        UpdateUploadButton1();
    }
    function UpdateUploadButton1() {
        btnUpload1.SetEnabled(uploader1.GetText(0) != "");
    }
    function getPreviewImageElement1() {
        return document.getElementById("previewImage1");
    }
    //------2-------------------------------------------------
    function Uploader_OnUploadStart2() {
        btnUpload2.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete2(args) {
        var imgSrc = aspxPreviewImgSrc2;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement2().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete2(args) {
        UpdateUploadButton2();
    }
    function UpdateUploadButton2() {
        btnUpload2.SetEnabled(uploader2.GetText(0) != "");
    }
    function getPreviewImageElement2() {
        return document.getElementById("previewImage2");
    }
    //-----------3---------------------------------------------
    function Uploader_OnUploadStart3() {
        btnUpload1.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete3(args) {
        var imgSrc = aspxPreviewImgSrc3;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement3().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete3(args) {
        UpdateUploadButton3();
    }
    function UpdateUploadButton3() {
        btnUpload3.SetEnabled(uploader3.GetText(0) != "");
    }
    function getPreviewImageElement3() {
        return document.getElementById("previewImage3");
    }
    //---------------4-----------------------------------------------
    function Uploader_OnUploadStart4() {
        btnUpload4.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete4(args) {
        var imgSrc = aspxPreviewImgSrc4;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement4().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete4(args) {
        UpdateUploadButton4();
    }
    function UpdateUploadButton4() {
        btnUpload4.SetEnabled(uploader4.GetText(0) != "");
    }
    function getPreviewImageElement4() {
        return document.getElementById("previewImage4");
    }
    //----------------5----------------------------------------
    function Uploader_OnUploadStart5() {
        btnUpload5.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete5(args) {
        var imgSrc = aspxPreviewImgSrc5;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement5().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete5(args) {
        UpdateUploadButton5();
    }
    function UpdateUploadButton5() {
        btnUpload5.SetEnabled(uploader5.GetText(0) != "");
    }
    function getPreviewImageElement5() {
        return document.getElementById("previewImage5");
    }
    //---------- anh lon -----------------------------------------

    function Uploader_OnUploadStart0() {
        btnUpload0.SetEnabled(false);
    }

    function Uploader_OnFileUploadComplete0(args) {
        var imgSrc = aspxPreviewImgSrc0;
        if (args.isValid) {
            var date = new Date();
            imgSrc = '<%=pathUrl %>' + args.callbackData;
            //alert(imgSrc);
        }
        getPreviewImageElement0().src = imgSrc;
    }
    function Uploader_OnFilesUploadComplete0(args) {
        UpdateUploadButton0();
    }
    function UpdateUploadButton0() {
        btnUpload0.SetEnabled(uploader0.GetText(0) != "");
    }
    function getPreviewImageElement0() {
        return document.getElementById("previewImage0");
    }
</script>
<div style="margin-top: 20px">
    
    <div class="contentext1">
        Nhóm sản phẩm
    </div>
    <div class="contentext2">
        <dx:ASPxComboBox ID="cbnhom" runat="server" ValueType="System.String" Width="200px" Theme="DevEx" AutoPostBack="false">
            <Items>
                <dx:ListEditItem Text="SỨC KHỎE - LÀM ĐẸP" Value="1" />
                <dx:ListEditItem Text="NHÀ HÀNG - KHÁCH SẠN - QUÁN ĂN" Value="2" />
                <dx:ListEditItem Text="MUA SẮM - THỜI TRANG" Value="3" />
                <dx:ListEditItem Text="CAFÉ - KEM - BÁNH" Value="4" />
                
            </Items>
        </dx:ASPxComboBox>
    </div>

    <div class="Clear"></div>
     <div class="contentext1">
        Loại sản phẩm
    </div>
    <div class="contentext2">
        <dx:ASPxComboBox ID="cbloai" runat="server" ValueType="System.String" Width="200px" Theme="DevEx" AutoPostBack="false">
        </dx:ASPxComboBox>
    </div>

    <div class="Clear"></div>
    <div class="contentext1">
        Tên sản phẩm
    </div>
    <div class="contentext2">
        <dx:ASPxTextBox ID="txtProductname" runat="server" Width="200px" Theme="DevEx"></dx:ASPxTextBox>

    </div>
    <div class="Clear"></div>
    <div class="contentext1">
        Hình thức 
    </div>
    <div class="contentext2">
        <dx:ASPxComboBox ID="cbgiaohang" runat="server" ValueType="System.String" Width="200px" Theme="DevEx" AutoPostBack="false">
            <Items>
                <dx:ListEditItem Text="Giao hàng" Selected="true" Value="Giao hàng" />
                <dx:ListEditItem Text="Free ship" Selected="true" Value="Free ship" />
                <dx:ListEditItem Text="" Selected="true" Value="" />
            </Items>
        </dx:ASPxComboBox>
    </div>

    <div class="Clear"></div>
    <div class="contentext1">
        Meta Description
    </div>
    <div class="contentext2">

        <dx:ASPxMemo ID="txtMetaDescription" runat="server" Width="400px" MaxLength="500" Height="40px" Theme="DevEx"></dx:ASPxMemo>
    </div>
    <div class="Clear"></div>
        <div class="contentext1">
        Meta Keywords
    </div>
    <div class="contentext2">
        <dx:ASPxTextBox ID="txtMetaKeywords" runat="server" Width="400px" MaxLength="300" Theme="DevEx"></dx:ASPxTextBox>

    </div>
    <div class="Clear"></div>
    <div class="contentext1">
        Ghi chú ngắn
    </div>
    <div class="contentext2">
        <dx:ASPxTextBox ID="txtNote" runat="server" Width="200px" MaxLength="100" Theme="DevEx"></dx:ASPxTextBox>

    </div>
    <div class="Clear"></div>
    <div class="contentext1">
        Số lượng
    </div>
    <div class="contentext2">
   
        <dx:ASPxSpinEdit ID="txtsoluong" runat="server" Theme="DevEx" MaxLength="10" MinValue="0" DisplayFormatString="N0" Number="0" NumberType="Integer"></dx:ASPxSpinEdit>
    </div>
    <div class="Clear"></div>
    <div class="contentext1">
        Đơn giá
    </div>
    <div class="contentext2">
        <dx:ASPxSpinEdit ID="txtgia" runat="server" Theme="DevEx" MaxLength="10" MinValue="0" DisplayFormatString="C0" Number="0" NumberType="Float"></dx:ASPxSpinEdit>
    </div>

    <div class="Clear"></div>
    <div class="contentext1">
        Giảm giá (%)
    </div>
    <div class="contentext2">
        <dx:ASPxSpinEdit ID="txtGiamgia" runat="server" Theme="DevEx" MaxLength="2" MinValue="0" DisplayFormatString="N0" Number="0" NumberType="Integer"></dx:ASPxSpinEdit>

    </div>
    <div class="Clear"></div>
    <div class="contentext1">
        Chiết khấu (%)
    </div>
    <div class="contentext2">
       
        <dx:ASPxSpinEdit ID="txtChietkhau" runat="server" Theme="DevEx" MaxLength="2" MinValue="0" DisplayFormatString="N0" Number="0" NumberType="Integer"></dx:ASPxSpinEdit>
    </div>
    <div class="Clear"></div>
     <div class="contentext1">
        Ảnh hiễn thị lớn:
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage0" runat="server" ClientInstanceName="uploader0" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage0_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete0(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete0(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart0(); }"
                TextChanged="function(s, e) { UpdateUploadButton0(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="ASPxLabel11" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="ASPxLabel12" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload0" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload0"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader0.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage0"  alt="" />
    </div>

    <div class="Clear"></div>

    <div class="contentext1">
        Hình ảnh
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage" runat="server" ClientInstanceName="uploader" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart(); }"
                TextChanged="function(s, e) { UpdateUploadButton(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="lblAllowebMimeType" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="lblMaxFileSize" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage"  alt="" />
    </div>

    <div class="Clear"></div>
    <div class="contentext1">
        Ảnh chi tiết 1
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage1" runat="server" ClientInstanceName="uploader1" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage1_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete1(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete1(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart1(); }"
                TextChanged="function(s, e) { UpdateUploadButton1(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload1" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload1"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader1.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage1"  alt="" />
    </div>

    <div class="Clear"></div>

    <div class="contentext1">
        Ảnh chi tiết 2
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage2" runat="server" ClientInstanceName="uploader2" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage2_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete2(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete2(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart2(); }"
                TextChanged="function(s, e) { UpdateUploadButton2(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload2" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload2"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader2.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage2"  alt="" />
    </div>

    <div class="Clear"></div>

    <div class="contentext1">
        Ảnh chi tiết 3
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage3" runat="server" ClientInstanceName="uploader3" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage3_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete3(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete3(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart3(); }"
                TextChanged="function(s, e) { UpdateUploadButton3(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload3" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload3"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader3.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage3"  alt="" />
    </div>

    <div class="Clear"></div>

    <div class="contentext1">
        Ảnh chi tiết 4
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage4" runat="server" ClientInstanceName="uploader4" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage4_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete4(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete4(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart4(); }"
                TextChanged="function(s, e) { UpdateUploadButton4(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload4" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload4"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader4.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage4"  alt="" />
    </div>

    <div class="Clear"></div>

    <div class="contentext1">
        Ảnh chi tiết 5
    </div>
    <div class="contentext2">
        <dx:ASPxUploadControl ID="uplImage5" runat="server" ClientInstanceName="uploader5" ShowProgressPanel="True"
            NullText="Click here to browse files..." Size="35" OnFileUploadComplete="uplImage5_FileUploadComplete">
            <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete5(e); }"
                FilesUploadComplete="function(s, e) { Uploader_OnFilesUploadComplete5(e); }"
                FileUploadStart="function(s, e) { Uploader_OnUploadStart5(); }"
                TextChanged="function(s, e) { UpdateUploadButton5(); }"></ClientSideEvents>
            <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".jpg,.jpeg,.jpe,.gif">
            </ValidationSettings>
        </dx:ASPxUploadControl>

        <br />
        <dx:ASPxLabel ID="ASPxLabel9" runat="server" Text="Allowed image types: jpeg, gif"
            Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxLabel ID="ASPxLabel10" runat="server" Text="Maximum file size: 4Mb" Font-Size="8pt">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxButton ID="btnUpload5" runat="server" AutoPostBack="False" Text="Upload" ClientInstanceName="btnUpload5"
            Width="100px" ClientEnabled="False">
            <ClientSideEvents Click="function(s, e) { uploader5.Upload(); }" />
        </dx:ASPxButton>
        <br />
        <img src="../Image/icon/26_mail.png" id="previewImage5"  alt="" />
    </div>

    <div class="Clear"></div>

    <dx:ASPxPageControl ID="carTabPage" runat="server" ActiveTabIndex="0" EnableHierarchyRecreation="True"
        Height="650px" Width="100%" Theme="DevEx">
        <TabPages>
            <dx:TabPage Text="Chi tiết sản phẩm">
                <ContentCollection>

                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                        <CKEditor:CKEditorControl ID="radChitiet" runat="server" Height="600"></CKEditor:CKEditorControl>
                    </dx:ContentControl>

                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Tính năng">
                <ContentCollection>
                    <dx:ContentControl ID="ContentControl2" runat="server" SupportsDisabledAttribute="True">
                        <CKEditor:CKEditorControl ID="radTinhnang" runat="server" Height="600"></CKEditor:CKEditorControl>

                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Hình ảnh">
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                        <CKEditor:CKEditorControl ID="radHinhanh" runat="server" Height="600"></CKEditor:CKEditorControl>

                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Video">
                <ContentCollection>
                    <dx:ContentControl ID="ContentControl4" runat="server" SupportsDisabledAttribute="True">
                        <CKEditor:CKEditorControl ID="radVideo" runat="server" Height="600"></CKEditor:CKEditorControl>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
        </TabPages>
    </dx:ASPxPageControl>
    <div class="Clear"></div>
    <dx:ASPxLabel ID="lbthongbao" runat="server" Text=" "></dx:ASPxLabel>
    <br />
    <asp:HiddenField ID="link0" runat="server" />
  <asp:HiddenField ID="hdfID" runat="server" />
    <dx:ASPxButton ID="btnOk" runat="server" Text="Cập nhật" Theme="iOS" OnClick="btnOk_Click"></dx:ASPxButton>
</div>
<script type="text/javascript">
    // <![CDATA[
    var aspxPreviewImgSrc = getPreviewImageElement().src;
    var aspxPreviewImgSrc1 = getPreviewImageElement1().src;
    var aspxPreviewImgSrc2 = getPreviewImageElement2().src;
    var aspxPreviewImgSrc3 = getPreviewImageElement3().src;
    var aspxPreviewImgSrc4 = getPreviewImageElement4().src;
    var aspxPreviewImgSrc5 = getPreviewImageElement5().src;
    var aspxPreviewImgSrc0 = getPreviewImageElement0().src;
    // ]]> 
</script>


